Skip to content

Do not format text content of <style> and <script>#1105

Merged
angelozerr merged 1 commit into
redhat-developer:mainfrom
datho7561:1104-style-tags
Sep 30, 2025
Merged

Do not format text content of <style> and <script>#1105
angelozerr merged 1 commit into
redhat-developer:mainfrom
datho7561:1104-style-tags

Conversation

@datho7561
Copy link
Copy Markdown
Contributor

Usually <style> contains CSS and <script> contains JavaScript (or some other scripting language), so the text content is probably manually formatted, and the whitespace shouldn't be adjusted.

Fixes #1104

Usually `<style>` contains CSS and `<script>` contains JavaScript (or
some other scripting language), so the text content is probably manually
formatted, and the whitespace shouldn't be adjusted.

Fixes redhat-developer#1104

Signed-off-by: David Thompson <davthomp@redhat.com>
@angelozerr angelozerr merged commit 530271b into redhat-developer:main Sep 30, 2025
3 checks passed
@angelozerr
Copy link
Copy Markdown
Contributor

Thanks @datho7561 !

@datho7561 datho7561 deleted the 1104-style-tags branch September 30, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrectly formatting inside <style> tags

2 participants